As for the error code 2, if it is only happened on Benz software, please go to Data Manager to delete this vehicle and download it again from Update page.
To program BMW F series, it needs BMW Ethernet Cable to do programming. It is optional connector, you can purchase from your local dealer.